//
//  QZVideoModel.h
//  shortvideoplay
//
//  Created by tikeios_002 on 2024/6/13.
//

#import <Foundation/Foundation.h>
#import <BUAdSDK/BUAdSDK.h>
NS_ASSUME_NONNULL_BEGIN



@interface QZVideoVideoModel : NSObject
@property (nonatomic, copy) NSString * description;
@property (nonatomic, copy) NSString * thumb;
@property (nonatomic, copy) NSString * modified;
@property (nonatomic, copy) NSNumber * uid;
@property (nonatomic, copy) NSString * c3;
@property (nonatomic, copy) NSString * name;
@property (nonatomic, copy) NSString * total_length;
@property (nonatomic, copy) NSString * c4;
@property (nonatomic, copy) NSNumber * cid;
@property (nonatomic, copy) NSString *length;
@property (nonatomic, copy) NSString *vcode;
@property (nonatomic, copy) NSString * c5;
@property (nonatomic, copy) NSNumber * total_duration;
@property (nonatomic, copy) NSString * created;
@property (nonatomic, copy) NSString * c1;
@property (nonatomic, copy) NSNumber * duration;
@property (nonatomic, copy) NSString * c2;
@property (nonatomic, copy) NSNumber * views;
@end


@interface QZVideostreamModel : NSObject
@property (nonatomic, copy) NSNumber * br;
@property (nonatomic, copy) NSNumber * asr;
@property (nonatomic, copy) NSNumber * hide;
@property (nonatomic, copy) NSString * vc;
@property (nonatomic, copy) NSString * vcodec;
@property (nonatomic, copy) NSArray * backup_urls;
@property (nonatomic, copy) NSNumber * width;
@property (nonatomic, copy) NSString * url;
@property (nonatomic, copy) NSNumber *fr;
@property (nonatomic, copy) NSNumber *abr;
@property (nonatomic, copy) NSNumber * size;
@property (nonatomic, copy) NSNumber * nobr;
@property (nonatomic, copy) NSString * format;
@property (nonatomic, copy) NSNumber * height;
@property (nonatomic, copy) NSString * ac;
@property (nonatomic, copy) NSString * name;
@property (nonatomic, copy) NSNumber * vtype;
@end

@interface QZVideoVideoUrlModel : NSObject
@property (nonatomic, strong) QZVideoVideoModel * video;
@property (nonatomic, strong) NSMutableArray <QZVideostreamModel *> * stream;
@property (nonatomic, strong) NSString * download_url;
@end

@interface QZVideoModel : NSObject
@property (nonatomic, assign) NSInteger skit_id;        //短剧ID
@property (nonatomic, copy) NSString *title;            //短剧名
@property (nonatomic, copy) NSString *cover_image;      //短剧的封面
@property (nonatomic, assign) NSInteger status;         //短剧状态 1表示未完结
@property (nonatomic, assign) NSInteger total;          //共多少集
@property (nonatomic, copy) NSString *desc;             //简介
@property (nonatomic, copy) NSString *type;             //类型
@property (nonatomic, copy) NSString *script_name;      //短剧对应的小说名
@property (nonatomic, copy) NSString *script_author;    //小说作者
@property (nonatomic, assign) CGFloat video_duration;   //时长
@property (nonatomic, assign) NSInteger current_episode;//播放到第几集
@property (nonatomic, assign) NSInteger group_id;       //播放到的剧集gid
@property (nonatomic) NSString *icp_number;             // 备案号 赋能1103新增
//1140 短剧信息增加收藏相关字段
@property (nonatomic) NSInteger favorite_state;//收藏状态，true 为收藏，false 为未收藏
@property (nonatomic) NSInteger favorite_time;//收藏时间
@property (nonatomic) NSInteger favorite_count;//收藏次数

@property (nonatomic) NSInteger level_label;                    //1180新增 等级标签 "1:S级、2:A级、3:B级
@property (nonatomic) BOOL is_potential;                        //1180新增 是否潜力剧
@property (nonatomic) BOOL is_duanju;                        //是否是短剧



@property (nonatomic, copy) NSString *income;
@property (nonatomic, copy) NSNumber * collect_num;
@property (nonatomic, copy) NSNumber * comment_num;
@property (nonatomic, copy) NSNumber * durations;
@property (nonatomic, copy) NSNumber * play_durations;
@property (nonatomic, copy) NSNumber * id;
@property (nonatomic, assign) CGSize itemSize;
@property (nonatomic, assign) CGFloat introHeight;
@property (nonatomic, copy) NSNumber * isfollow;
@property (nonatomic, copy) NSNumber * is_flower;
@property (nonatomic, copy) NSNumber * is_vip;
@property (nonatomic, copy) NSNumber * iscollect;
@property (nonatomic, copy) NSNumber * iscreator;
@property (nonatomic, copy) NSNumber * islike;
@property (nonatomic, copy) NSNumber * total_fans;
@property (nonatomic, copy) NSNumber *height;
@property (nonatomic, copy) NSNumber *width;
@property (nonatomic, copy) NSNumber * like_num;
@property (nonatomic, copy) NSNumber * mid;
@property (nonatomic, copy) NSNumber * videoid;
@property (nonatomic, copy) NSString * nickname;
@property (nonatomic, copy) NSDictionary * video_url;
@property (nonatomic, copy) NSString * video_token;
@property (nonatomic, strong) QZVideoVideoUrlModel * video_urlModel;
@property (nonatomic, strong) NSString * video_play_url;
@property (nonatomic, copy) NSString * face;
@property (nonatomic, copy) NSString * image;
@property (nonatomic, copy) NSNumber *is_top;
@property (nonatomic, copy) NSNumber *pv;
@property (nonatomic, assign) BOOL isMyVideo;
@property (nonatomic, copy) NSArray *labels; //话题
@property (nonatomic, copy) NSString *introduce;
@property (nonatomic, strong) NSMutableAttributedString *introduceAtter;
@property (nonatomic, copy) NSNumber *ischeck; // 0 审核未过  1 已发布  2 审核中
@property (nonatomic, assign) BOOL isJusSee; //是否是刚刚看过
@property (nonatomic, copy) NSNumber *download_permission; //0=不允许下载,1=允许下载
@property (nonatomic, assign) BOOL is_old_see;
@property (nonatomic, assign) BOOL is_jieshao_open;
@property (nonatomic, assign) BOOL is_jieshao_moreLine;
@property (nonatomic, strong) NSMutableAttributedString * jieshao_open_str;
@property (nonatomic, strong) NSMutableAttributedString * jieshao_close_str;
@property (nonatomic, assign) BOOL isOpenIntro;

@property (nonatomic, copy) NSNumber *price;
@property (nonatomic, copy) NSNumber *t_coin_num;
@property (nonatomic, copy) NSNumber *try_second;
@property (nonatomic, assign) BOOL is_request_down;
@property (nonatomic, assign) BOOL is_ADView;
@property (nonatomic, assign) BOOL is_recomment_view;
@property (nonatomic, assign) BOOL is_rank;
@property (nonatomic, copy) BUNativeAd * admodel;
@property (nonatomic, strong) id expressView;
@property (nonatomic, strong) id expressView2;
@property (nonatomic, strong) NSString *expressViewId;
@end

NS_ASSUME_NONNULL_END
